]> dgit.raspbian.org Git - gnome-shell.git/commit
calendar: Improve the accessibility of the "Do Not Disturb" switch
authorLuke Yelavich <themuso@themuso.com>
Sat, 28 Mar 2020 03:56:23 +0000 (14:56 +1100)
committerLuke Yelavich <themuso@themuso.com>
Sun, 29 Mar 2020 00:07:32 +0000 (11:07 +1100)
commit454e3fd39a5ee24ab52dcaefc74e43e337c3c9b7
tree3160295fc85173417d2668c5e5033011694d7e6d
parente4d72fb2b0266bf7a9f9589d74b4555f503d29f5
calendar: Improve the accessibility of the "Do Not Disturb" switch

Set the do not disturb label as the label actor for the do not disturb switch,
so that Orca speaks the do not disturb label when the user moves
keyboard focus to the do not disturb switch.

Also enable toggle mode for the "Do Not Disturb" button and bind it's checked
state to the state property of the switch. This makes sure that Orca presents
thecorrect state of the do not disturb switch to the user.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2508
js/ui/calendar.js